package com.atcjx.mapper;

import com.atcjx.pojo.Article.Article;
import com.atcjx.pojo.Query.Article.ArticleQueryPo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.LinkedList;
import java.util.List;

/**
 * @author admin
 * @version 1.0.0
 * @ClassName ArticleMapper.java
 * @Description TODO
 * @createTime 2021年09月20日 15:04:00
 */
@Mapper
@Repository
public interface ArticleMapper {

     List<Article> getArticlesByCondition(ArticleQueryPo articleQueryPo);

     int insert(Article article);

     void deleteArticle(String id);

     void updateById(Article article);

     void getCoverImg(String coverImg);

}
